package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.TravelRouteStats;
import com.ruoyi.app.domain.TravelRouteStatsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelRouteStatsMapper {
    int countByExample(TravelRouteStatsExample example);

    int deleteByExample(TravelRouteStatsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TravelRouteStats record);

    int insertSelective(TravelRouteStats record);

    List<TravelRouteStats> selectByExample(TravelRouteStatsExample example);

    TravelRouteStats selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TravelRouteStats record, @Param("example") TravelRouteStatsExample example);

    int updateByExample(@Param("record") TravelRouteStats record, @Param("example") TravelRouteStatsExample example);

    int updateByPrimaryKeySelective(TravelRouteStats record);

    int updateByPrimaryKey(TravelRouteStats record);
}